<?php

/*
 * 活动类
*/
class activityController extends base
{

    public function __construct()
    {
        parent::__construct();
    }

    /*
	 * 活动列表
	*/
    public function doactivityList()
    {
    	// 获取传入参数
    	$act_id = common::request('act_id', 'G', 0);
    	$direc = common::request('direc', 'G', 'next');
    	$offset = common::request('offset', 'G', 10);

    	$activityList = $this->load('activity')->activityList($act_id, $direc, $offset);

    	$this->result['result'] = $activityList;
    }

}